import shutil

def get_solvers():
    solvers = []
    for s in ['ipopt', 'cbc' ]:
        if shutil.which(s):
            solvers.append(s)

    if shutil.which('glpsol'):
        solvers.append('glpk')
    return solvers